const fs = require('fs')
module.exports = {
  read:function(path, res){
    fs.readFile(path,'binary',function(err, filecon) {
      if(err) {
        console.log(err)
      }else{
        res.write(filecon, 'binary')
        res.end()
      }
    })
  }
}